package com.ems.pojo.data;

/**
 * @Auther: 伟伟
 * @Date: 2019/10/7
 * @Description: 描述
 * @Version: 1.0
 */
public class PageData {
    private long total; //总条数
    private long pageNum; //当前页数
    private Object data; //数据

    public PageData() {
    }

    public PageData(long total, long pageNum, Object data) {
        this.total = total;
        this.pageNum = pageNum;
        this.data = data;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public long getPageNum() {
        return pageNum;
    }

    public void setPageNum(long pageNum) {
        this.pageNum = pageNum;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "PageData{" +
                "total=" + total +
                ", pageNum=" + pageNum +
                ", data=" + data +
                '}';
    }
}
